package com.youhome.service.service;

import com.github.pagehelper.PageInfo;
import com.youhome.common.exception.CustomException;
import com.youhome.service.dto.DTOCompanyReport;
import com.youhome.service.model.CompanyReport;
import com.youhome.service.model.CustomCompanyTokenDetails;

import java.util.List;

/**
 * Created by chen365 on 2019/05/23.
 */
public interface CompanyReportService {

    PageInfo<DTOCompanyReport> selectByBean(Integer pageIndex, Integer pageSize, CompanyReport record);

    CompanyReport selectByPrimaryKey(Long reportId) throws CustomException;

    CompanyReport generate(CustomCompanyTokenDetails companyTokenDetails, Integer reportType, String houseId)throws CustomException;

    CompanyReport selectByPrimaryKey(Long reportId, CustomCompanyTokenDetails companyTokenDetails) throws CustomException;
}
